package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.io.Serializable;
import java.util.List;

/**
 * Created by en on 2019/1/3.
 */

public class SuperColorEggData implements Serializable {


    /**
     * {
     * "msg": "成功",
     * "status": 0,
     * "data": {
     * "msg": "这是说明", // 首页说明
     * "eggLastTime": 0, // 倒计时 （剩余多少秒）
     * "egg": { // 开启的超蛋信息（总的）
     * "id": 1,
     * "createTime": 1557220360000,
     * "updateTime": 1557220939000,
     * "endTime": null, // 结束时间
     * "status": 1,
     * "sethTotal": 0, // 总seth
     * "staticPool": 0, // 静态总池
     * "dynamicPool": 0, // 动态总池
     * "rewardPool": 0, // 大奖池
     * "outStaticPool": 0,
     * "outDynamicPool": 0,
     * "outRewardPool": 0,
     * "lastUserId": null, // 最后一个用户id
     * "lastTime": 1557220938000, // 最后参与时间
     * "lastOrderId": null,
     * "smioTotal": 0, // 总的smio
     * "smioExcitation": 0 //smio总激励
     * },
     * "eggWallet": { // 超蛋钱包（用户的）
     * "id": 21787,
     * "userId": 23252,
     * "smio": 0, // smio
     * "seth": 0, // seth
     * "smioExcitation": 0, // smio激励
     * "ethGet": 0, // seth 解冻得多少eth
     * "staticMoneyGet": 0, // 获得多少静态奖励
     * "dynamicMoneyGet": 0, // 获得多少动态奖励
     * "cappingMoney": 0, // 封顶额
     * "createTime": null,
     * "updateTime": null
     * },
     * "eggGoods": [ // 购买选项
     * {
     * "id": 1,
     * "name": "支付0.5", // 名称
     * "remark": "", // 备注
     * "eth": 0.5, // 需支付的eth
     * "cappingMultiple": 1.3, // 封顶倍率
     * "getSeth": 0.5, // 获得的seth
     * "poolPro": 0.35, // 奖池比例
     * "createTime": 1557046377000,
     * "updateTime": 1557198793000,
     * "endTime": null,
     * "status": 1
     * }
     * ]
     * },
     * "success": true,
     * "timestamp": 1557222747240,
     * "total": null
     * }
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * "nextEggStartTime": 3254,// 下次彩蛋倒计时
         * "nextHalveNum":995
         * "moneyAddress" : "asdf", // 币地址
         * "lastUserName":"最后", // 参与的最后一名用户名 没有为null
         * msg : 这是说明
         * "registerUrl":"https://api.iotoken.net/app/API/register"
         * eggLastTime : 0
         * egg : {"id":1,"createTime":1557220360000,"updateTime":1557220939000,"endTime":null,"status":1,"sethTotal":0,"staticPool":0,"dynamicPool":0,"rewardPool":0,"outStaticPool":0,"outDynamicPool":0,"outRewardPool":0,"lastUserId":null,"lastTime":1557220938000,"lastOrderId":null,"smioTotal":0,"smioExcitation":0}
         * eggWallet : {"id":21787,"userId":23252,"smio":0,"seth":0,"smioExcitation":0,"ethGet":0,"staticMoneyGet":0,"dynamicMoneyGet":0,"cappingMoney":0,"createTime":null,"updateTime":null}
         * eggGoods : [{"id":1,"name":"支付0.5","remark":"","eth":0.5,"cappingMultiple":1.3,"getSeth":0.5,"poolPro":0.35,"createTime":1557046377000,"updateTime":1557198793000,"endTime":null,"status":1}]
         */
        private long nextEggStartTime;
        private String nextHalveNum;
        private String moneyAddress;
        private String lastUserName;
        private String msg;
        private String registerUrl;
        private long eggLastTime;
        private EggBean egg;
        private EggWalletBean eggWallet;
        private List<EggGoodsBean> eggGoods;

        public long getNextEggStartTime() {
            return nextEggStartTime;
        }

        public void setNextEggStartTime(long nextEggStartTime) {
            this.nextEggStartTime = nextEggStartTime;
        }

        public String getNextHalveNum() {
            return nextHalveNum;
        }

        public void setNextHalveNum(String nextHalveNum) {
            this.nextHalveNum = nextHalveNum;
        }

        public String getMoneyAddress() {
            return moneyAddress;
        }

        public void setMoneyAddress(String moneyAddress) {
            this.moneyAddress = moneyAddress;
        }

        public String getLastUserName() {
            return lastUserName;
        }

        public void setLastUserName(String lastUserName) {
            this.lastUserName = lastUserName;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getRegisterUrl() {
            return registerUrl;
        }

        public void setRegisterUrl(String registerUrl) {
            this.registerUrl = registerUrl;
        }

        public long getEggLastTime() {
            return eggLastTime;
        }

        public void setEggLastTime(long eggLastTime) {
            this.eggLastTime = eggLastTime;
        }

        public EggBean getEgg() {
            return egg;
        }

        public void setEgg(EggBean egg) {
            this.egg = egg;
        }

        public EggWalletBean getEggWallet() {
            return eggWallet;
        }

        public void setEggWallet(EggWalletBean eggWallet) {
            this.eggWallet = eggWallet;
        }

        public List<EggGoodsBean> getEggGoods() {
            return eggGoods;
        }

        public void setEggGoods(List<EggGoodsBean> eggGoods) {
            this.eggGoods = eggGoods;
        }

        public static class EggBean {
            /**
             * id : 1
             * createTime : 1557220360000
             * updateTime : 1557220939000
             * endTime : null
             * status : 1 // 状态 0 未开启 1 开启 2 已结束
             * sethTotal : 0
             * staticPool : 0
             * dynamicPool : 0
             * rewardPool : 0
             * outStaticPool : 0
             * outDynamicPool : 0
             * outRewardPool : 0
             * lastUserId : null
             * lastTime : 1557220938000
             * lastOrderId : null
             * smioTotal : 0
             * smioExcitation : 0
             * "btcPrice":0,// btc 当前价格
             * "btc":0, // 当前的奖池btc
             * "mioPrice":0 // 当前mio价格
             * "calStatus":2 // 结算状态 2 未结算 1 结算完成
             */

            private int id;
            private long createTime;
            private long updateTime;
            private Object endTime;
            private int status;
            private double sethTotal;
            private double staticPool;
            private double dynamicPool;
            private double rewardPool;
            private double outStaticPool;
            private double outDynamicPool;
            private double outRewardPool;
            private Object lastUserId;
            private long lastTime;
            private Object lastOrderId;
            private double smioTotal;
            private double smioExcitation;

            private double btcPrice;
            private double btc;
            private double mioPrice;
            private int  calStatus;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public double getSethTotal() {
                return sethTotal;
            }

            public void setSethTotal(double sethTotal) {
                this.sethTotal = sethTotal;
            }

            public double getStaticPool() {
                return staticPool;
            }

            public void setStaticPool(double staticPool) {
                this.staticPool = staticPool;
            }

            public double getDynamicPool() {
                return dynamicPool;
            }

            public void setDynamicPool(double dynamicPool) {
                this.dynamicPool = dynamicPool;
            }

            public double getRewardPool() {
                return rewardPool;
            }

            public void setRewardPool(double rewardPool) {
                this.rewardPool = rewardPool;
            }

            public double getOutStaticPool() {
                return outStaticPool;
            }

            public void setOutStaticPool(double outStaticPool) {
                this.outStaticPool = outStaticPool;
            }

            public double getOutDynamicPool() {
                return outDynamicPool;
            }

            public void setOutDynamicPool(double outDynamicPool) {
                this.outDynamicPool = outDynamicPool;
            }

            public double getOutRewardPool() {
                return outRewardPool;
            }

            public void setOutRewardPool(double outRewardPool) {
                this.outRewardPool = outRewardPool;
            }

            public Object getLastUserId() {
                return lastUserId;
            }

            public void setLastUserId(Object lastUserId) {
                this.lastUserId = lastUserId;
            }

            public long getLastTime() {
                return lastTime;
            }

            public void setLastTime(long lastTime) {
                this.lastTime = lastTime;
            }

            public Object getLastOrderId() {
                return lastOrderId;
            }

            public void setLastOrderId(Object lastOrderId) {
                this.lastOrderId = lastOrderId;
            }

            public double getSmioTotal() {
                return smioTotal;
            }

            public void setSmioTotal(double smioTotal) {
                this.smioTotal = smioTotal;
            }

            public double getSmioExcitation() {
                return smioExcitation;
            }

            public void setSmioExcitation(double smioExcitation) {
                this.smioExcitation = smioExcitation;
            }

            public double getBtcPrice() {
                return btcPrice;
            }

            public void setBtcPrice(double btcPrice) {
                this.btcPrice = btcPrice;
            }

            public double getBtc() {
                return btc;
            }

            public void setBtc(double btc) {
                this.btc = btc;
            }

            public double getMioPrice() {
                return mioPrice;
            }

            public void setMioPrice(double mioPrice) {
                this.mioPrice = mioPrice;
            }

            public int getCalStatus() {
                return calStatus;
            }

            public void setCalStatus(int calStatus) {
                this.calStatus = calStatus;
            }
        }

        public static class EggWalletBean {
            /**
             * id : 21787
             * userId : 23252
             * smio : 0
             * seth : 0
             * smioExcitation : 0
             * ethGet : 0
             * staticMoneyGet : 0
             * dynamicMoneyGet : 0
             * cappingMoney : 0
             * createTime : null
             * updateTime : null
             */

            private int id;
            private int userId;
            private double smio;
            private double seth;
            private double smioExcitation;
            private double ethGet;
            private double staticMoneyGet;
            private double dynamicMoneyGet;
            private double cappingMoney;
            private Object createTime;
            private Object updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public double getSmio() {
                return smio;
            }

            public void setSmio(double smio) {
                this.smio = smio;
            }

            public double getSeth() {
                return seth;
            }

            public void setSeth(double seth) {
                this.seth = seth;
            }

            public double getSmioExcitation() {
                return smioExcitation;
            }

            public void setSmioExcitation(double smioExcitation) {
                this.smioExcitation = smioExcitation;
            }

            public double getEthGet() {
                return ethGet;
            }

            public void setEthGet(double ethGet) {
                this.ethGet = ethGet;
            }

            public double getStaticMoneyGet() {
                return staticMoneyGet;
            }

            public void setStaticMoneyGet(double staticMoneyGet) {
                this.staticMoneyGet = staticMoneyGet;
            }

            public double getDynamicMoneyGet() {
                return dynamicMoneyGet;
            }

            public void setDynamicMoneyGet(double dynamicMoneyGet) {
                this.dynamicMoneyGet = dynamicMoneyGet;
            }

            public double getCappingMoney() {
                return cappingMoney;
            }

            public void setCappingMoney(double cappingMoney) {
                this.cappingMoney = cappingMoney;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class EggGoodsBean extends BaseAdapter.BaseItem implements Serializable {
            /**
             * id : 1
             * name : 支付0.5
             * remark :
             * eth : 0.5
             * cappingMultiple : 1.3
             * getSeth : 0.5
             * poolPro : 0.35
             * createTime : 1557046377000
             * updateTime : 1557198793000
             * endTime : null
             * status : 1
             */

            private int id;
            private String name;
            private String remark;
            private double eth;
            private double cappingMultiple;
            private double getSeth;
            private double poolPro;
            private long createTime;
            private long updateTime;
            private Object endTime;
            private int status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public double getEth() {
                return eth;
            }

            public void setEth(double eth) {
                this.eth = eth;
            }

            public double getCappingMultiple() {
                return cappingMultiple;
            }

            public void setCappingMultiple(double cappingMultiple) {
                this.cappingMultiple = cappingMultiple;
            }

            public double getGetSeth() {
                return getSeth;
            }

            public void setGetSeth(double getSeth) {
                this.getSeth = getSeth;
            }

            public double getPoolPro() {
                return poolPro;
            }

            public void setPoolPro(double poolPro) {
                this.poolPro = poolPro;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
